package win.itshen.cloud.adminlte.modules.admin.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import win.itshen.cloud.adminlte.common.entity.SuperEntity;

/**
 * <p>
 * 系统角色表
 * </p>
 *
 * @author luckyxz999
 * @since 2017-09-19
 */
@Data
@TableName("sys_role")
public class SysRole extends SuperEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 主键ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    /**
     * 角色名称
     */
    private String name;
    /**
     * 状态 0-禁用 1-启用
     */
    private Integer status;

    @TableField(exist = false)
    private String extend;

}
